<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use App\Models\Profile;

class User extends Model
{
    //
    public function profile()
    {
        return $this->hasOne(Profile::class,'user_id', 'id');
    }
}
